package com.servicesystem.servicesystem.controller.ali;

import com.servicesystem.servicesystem.untis.GetImageUrl;
import com.servicesystem.servicesystem.untis.R;
import org.springframework.web.bind.annotation.*;

import java.util.ArrayList;

@RestController
@RequestMapping("/ali")
public class GetImgUrl {

    @PostMapping("/get-img")
    public R getUrl(@RequestBody String resources) {
        ArrayList<String> url = GetImageUrl.getUrl(resources);
        return R.success(url);
    }
}
